package com.itwk.common.to.search;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: wangke
 * @Date: 2021/01/26/上午 10:38
 * @Description: 商品上架商品微服务与查询微服务传输模型
 */
@Data
public class SearchModel {
    private Long skuId;
    private Long spuId;
    private String skuTitle;
    private BigDecimal skuPrice;
    private String skuImg;
    private Long saleCount;
    private Boolean hasStock;
    private  Long hasScore;
    private Long brandId;
    private Long catalogId;
    private String brandName;
    private String brandImg;
    private String catalogName;
    private  List<Attrs> attrs ;

    @Data
    public static class Attrs

    {
        private Long AttrId;
        private String AttrName;
        private String AttrValue;
    }
}
